package com.ruoyi.system.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 题库业务对象 p_problem_topic
 *
 * @author ruoyi
 * @date 2022-07-28
 */

@Data
@ApiModel("题库业务对象")
@NoArgsConstructor
public class PProblemTopicBo extends BaseEntity {

    /**
     *
     */
    @ApiModelProperty(value = "", required = true)
    private Long id;

    /**
     * 题目id
     */
    @ApiModelProperty(value = "题目id", required = true)
    private Long topicId;

    /**
     * 题目名称
     */
    @ApiModelProperty(value = "题目名称", required = true)
    @NotBlank(message = "题目名称不能为空", groups = { AddGroup.class, EditGroup.class })
    @ExcelProperty(value = "题目")
    private String name;

    /**
     * a选项
     */
    @ApiModelProperty(value = "a选项", required = true)
    @NotBlank(message = "a选项不能为空", groups = { AddGroup.class, EditGroup.class })
    @ExcelProperty(value = "A")
    private String a;

    /**
     * b选项
     */
    @ApiModelProperty(value = "b选项", required = true)
    @NotBlank(message = "b选项不能为空", groups = { AddGroup.class, EditGroup.class })
    @ExcelProperty(value = "B")
    private String b;

    /**
     * c选项
     */
    @ApiModelProperty(value = "c选项", required = true)
    @ExcelProperty(value = "C")
    private String c;

    /**
     * d选项
     */
    @ApiModelProperty(value = "d选项", required = true)
    @ExcelProperty(value = "D")
    private String d;

    /**
     * e选项
     */
    @ApiModelProperty(value = "e选项", required = true)
    @ExcelProperty(value = "E")
    private String e;

    /**
     * f选项
     */
    @ApiModelProperty(value = "f选项", required = true)
    @ExcelProperty(value = "F")
    private String f;

    /**`
     * g选项
     */
    @ApiModelProperty(value = "g选项", required = true)
    @ExcelProperty(value = "G")
    private String g;

    /**`
     * h选项
     */
    @ApiModelProperty(value = "h选项", required = true)
    @ExcelProperty(value = "H")
    private String h;

    /**`
     * i选项
     */
    @ApiModelProperty(value = "i选项", required = true)
    @ExcelProperty(value = "I")
    private String i;

    /**`
     * j选项
     */
    @ApiModelProperty(value = "j选项", required = true)
    @ExcelProperty(value = "J")
    private String j;

    /**`
     * k选项
     */
    @ApiModelProperty(value = "k选项", required = true)
    @ExcelProperty(value = "K")
    private String k;

    /**`
     * l选项
     */
    @ApiModelProperty(value = "l选项", required = true)
    @ExcelProperty(value = "L")
    private String l;

    /**`
     * m选项
     */
    @ApiModelProperty(value = "m选项", required = true)
    @ExcelProperty(value = "M")
    private String m;

    /**`
     * n选项
     */
    @ApiModelProperty(value = "n选项", required = true)
    @ExcelProperty(value = "N")
    private String n;

    /**`
     * o选项
     */
    @ApiModelProperty(value = "o选项", required = true)
    @ExcelProperty(value = "O")
    private String o;

    // A、B、C、D、E、F、G、H、I、J、K、L、M、N、O、P、Q、R、S、T、U、V、W、X、Y、Z

    /**
     * 答案
     */
    @ApiModelProperty(value = "答案", required = true)
    @ExcelProperty(value = "答案")
    private String answerResult;

    @ApiModelProperty(value = "答案类型 单选 多选")
    @ExcelProperty(value = "答案类型")
    private String type;

    @ExcelProperty(value = "a项分数")
    @ApiModelProperty("a项分数")
    private Integer firstScore;

    @ExcelProperty(value = "b项分数")
    @ApiModelProperty("b项分数")
    private Integer secondScore;

    @ExcelProperty(value = "c项分数")
    @ApiModelProperty("c项分数")
    private Integer thirdScore;

    @ExcelProperty(value = "d项分数")
    @ApiModelProperty("d项分数")
    private Integer forthScore;

    @ExcelProperty(value = "e项分数")
    @ApiModelProperty("e项分数")
    private Integer fifthScore;

    @ExcelProperty(value = "f项分数")
    @ApiModelProperty("f项分数")
    private Integer sixthScore;

    @ExcelProperty(value = "g项分数")
    @ApiModelProperty("g项分数")
    private Integer seventhScore;

    @ExcelProperty(value = "h项分数")
    @ApiModelProperty("h项分数")
    private Integer eighthScore;

    @ExcelProperty(value = "i项分数")
    @ApiModelProperty("i项分数")
    private Integer ninthScore;

    @ExcelProperty(value = "j项分数")
    @ApiModelProperty("j项分数")
    private Integer tenthScore;

    @ExcelProperty(value = "k项分数")
    @ApiModelProperty("k项分数")
    private Integer eleventhScore;

    @ExcelProperty(value = "l项分数")
    @ApiModelProperty("l项分数")
    private Integer twelfthScore;

    @ExcelProperty(value = "m项分数")
    @ApiModelProperty("m项分数")
    private Integer thirteenthScore;

    @ExcelProperty(value = "n项分数")
    @ApiModelProperty("n项分数")
    private Integer fourteenthScore;

    @ExcelProperty(value = "o项分数")
    @ApiModelProperty("o项分数")
    private Integer fifteenthScore;

}
